<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>JBatchUpload Documentation - FAQ</title>
<link href="styles/template.css" rel="stylesheet" type="text/css" />
<link href="styles/doc.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
#faq .sectionTitle a {
	color: #FFFFFF;
	text-decoration: none;
}
#faq .sectionTitle a:hover {
	color: #FFFFFF;
	text-decoration: underline;
}
#faq a {
	color: #000000;
	text-decoration: none;
}
#faq a:hover {
	color: #000000;
	text-decoration: underline;
}

#faq ul {
	font-size: 10px;
	padding: 0px;
	list-style:inside ;
	margin: 1px;
}
#faq tr td {
	vertical-align: top;
}
-->
</style>
</head>
<body>
<div id="containerDiv">
  <div id="topDiv">
  <div id="navDiv">
  <div id="tabsDiv"><ul>
  <li><a href="http://www.jfileupload.com/index.html" title="Home"><span>Home</span></a></li>
  <li><a href="http://www.jfileupload.com/products/index.html" title="Products"><span>Products</span></a></li>
  <li><a href="http://www.jfileupload.com/support/index.html" title="Support"><span>Support</span></a></li>
  <li><a href="http://www.jfileupload.com/purchase/index.html" title="Purchase"><span>Purchase</span></a></li>
  <li><a href="http://www.jfileupload.com/about/index.html" title="About"><span>About</span></a></li>
  </ul></div>
  </div>
  </div>
  <div id="mainDiv">
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="20%" valign="top"><div id="sidebar">
      <div id="sidebarSection">
        <ul>
          <li><img src="styles/bullet.gif" width="7" height="13" border="0" /><a href="installation.html" title="Installation"><span>Installation</span></a></li>
          <li><img src="styles/bullet.gif" width="7" height="13" border="0" /><a href="configuration.html" title="Configuration"><span>Configuration</span></a></li>
          <li><img src="styles/bullet.gif" width="7" height="13" border="0" /><a href="faq.html" title="FAQ"><span>FAQ</span></a></li>
          </ul>
      </div>
      <div id="sidebarNav"><br/><br/><a href="index.html" title="Back">&lt;&lt; Back</a></div>
      </div>    </td>
    <td width="80%" valign="top"><table width="98%" border="0" cellspacing="1" cellpadding="0" align="center">
      <tr>
        <td valign="top"><p align="center" class="mainTitle"><b>- FAQ -</b></p>
        <div id="faq">
            <table width="100%" border="0" cellspacing="2">
              <tr>
                <td width="50%" class="sectionTitle"><a href="#1">Basic setup (4)</a></td>
                <td width="50%" class="sectionTitle"><a href="#5">Advanced setup (7)</a></td>
              </tr>
              <tr>
                <td width="50%" class="faq"><ul>
                  <li><a href="#1">How to setup JBatchUpload ?</a></li>
                  <li><a href="#2">JBatchUpload fails to load (gray box) ?</a></li>
                  <li><a href="#3">JBatchUpload installation is fine but it still fails to load ?</a></li>
                  <li><a href="#4">How to internationalize JBatchUpload resources (messages,
                      errors , ...)</a> ?</li>
                </ul></td>
                <td width="50%"><ul><li><a href="#5">How to remove the &quot;date&quot; column ?</a></li>
                  <li><a href="#7">How to switch to native look and feel  ?</a></li>
                  <li><a href="#7">How to disable tooltips ?</a></li>
                  <li><a href="#8">How to remove the queue table header</a> ?</li>
                  <li><a href="#9">How to add time remaining and transfer speed info</a> ?</li>
                  <li><a href="#11">Can I add a background image</a> ?</li>
                </ul></td>
              </tr>
              <tr>
                <td class="sectionTitle"><a href="#12">Integration with others add-ons (2)</a></td>
                <td class="sectionTitle"><a href="#14">Others (1)</a></td>
              </tr>
              <tr>
                <td><ul>
                    <li><a href="#12">Can I use JImageFilter add-on with JBatchUpload ?</a></li>
                  <li><a href="#13">Can I use JFileUpload with your PHP sample script add-on ?</a></li>
                </ul></td>
                <td><ul>
                    <li><a href="#14">Can I use JBacthUpload Pro with JFileUpload Enterprise ?</a></li>
                </ul></td>
              </tr>
            </table>
        </div>
            <table width="100%" border="0" cellspacing="1" cellpadding="1">
              <tr>
                <td><div align="center"><hr size="2" noshade="noshade" />
                </div></td>
              </tr>
              <tr>
                <td ><table width="100%" border="0" cellspacing="1" cellpadding="1">
                  <tr>
                    <td class="sectionTitle">Basic setup</td>
                  </tr>
                </table></td>
              </tr>
              <tr>
                <td><ul>
                    <li><a name="1" id="1"></a><b>How to setup JBatchUpload ?<br />
                      </b>JBatchUpload  includes two sample files : <br />
                      For FTP : applet_ftp_batchupload.html + applet_ftp_batchupload.js<br />
                      for HTTP : applet_http_batchupload.html + applet_http_batchupload.js. <br />
                      Edit and modify parameters in the file matching to your need.</li>
                    <li><a name="2" id="2"></a><b>JBatchUpload  fails to load (gray box with red cross) ?</b><br />
                        You must install  JFileUpload first. Then you have to follow installation instructions above (copy  batchui.jar under lib/ folder ...).</li>
                    <li><a name="3" id="3"></a><b>JBatchUpload installation is fine but it still fails to load ?</b><br />
                        Are you using a Microsoft IIS web server ? If so, you need to allow .properties file serving by enabling &quot;.properties&quot; extension to &quot;text/plain&quot; mime-type. This issue is already explained in JFileUpload FAQ.</li>
                    <li><a name="4" id="4"></a><b>How to internationalize JBatchUpload resources (messages,
                      errors , ...) ?<br />
                    </b>In the same way as you can internationalize JFileUpload resources through i18n_bar.properties and i18n_pane.properties.</li>
                </ul>
                  <table width="100%" border="0" cellspacing="1" cellpadding="1">
                    <tr>
                      <td class="sectionTitle">Advanced setup</td>
                    </tr>
                  </table>
                  <ul>
                    <li><a name="5" id="5"></a><b>How to remove the &quot;date&quot; column  ?</b><br />
                      Edit i18n_pane.properties and comment the queue.table.column.date.title property. You just have to replace:<br />
&nbsp; queue.table.column.date.title=Date<br />
                      by:<br />
&nbsp;&nbsp;#queue.table.column.date.title=Date<br />
                      Close all browser windows and try again. The date column should not be displayed anymore. You can do the same for size parameter if needed. </li>
                    <li><a name="6" id="6"></a><b>How to switch to native look and feel ?<br />
                      </b>Edit i18n_bar.properties and uncomment the following property:<br />
&nbsp;&nbsp;#lookandfeel=auto</li>
                    <li><a name="7" id="7"></a><b>How to disable tooltips ?<br />
                      </b>Edit i18n_pane.properties and comment the following property:<br />
&nbsp;&nbsp;queue.file.tooltip=&lt;html&gt;&lt;center&gt;{0}&lt;/center&gt;&lt;/html&gt;</li>
                    <li><a name="8" id="8"></a><b>How to remove the queue table header ?<br />
                      </b>Edit i18n_pane.properties and uncomment the following property:<br />
&nbsp;&nbsp;#queue.table.header.enabled=false </li>
                    <li><a name="9" id="9"></a><b>How to add time remaining and transfer speed info ?<br />
                      </b>Yes, edit i18n_bar.properties and uncomment the following properties:<br />
&nbsp;&nbsp;#progress.info=timeremaining<br />
&nbsp;&nbsp;#progress.info.label=Time remaining : {0}h {1}m {2}s ({3} KB/s)</li>
                    <li><a name="10" id="10"></a><b>How to have  transfer speed  without time remaining info ?</b><br />
                      Same as question above but just replace progress.info.label with:<br />
&nbsp;&nbsp;progress.info.label=Transfer speed: {3} KB/s</li>
                    <li><a name="11" id="11"></a><b>Can I add a background image ?<br />
                      </b>Yes, edit i18n_pane.properties and uncomment the following property:<br />
&nbsp;&nbsp;queue.table.background.image=dnd.jpg<br />
                      dnd.jpg is your background image. It must be in the same folder as .properties.</li>
                    </ul>
                  <table width="100%" border="0" cellspacing="1" cellpadding="1">
                    <tr>
                      <td class="sectionTitle">Integration with others add-ons</td>
                    </tr>
                  </table>
                  <ul>
                    <li><a name="12" id="12"></a><b>Can I use JImageFilter add-on with JBatchUpload ?</b><br />
                      Yes, here are instructions:<br />
                      1 - Add scaling.properties under the same folder as HTML/JavaScript of applet.<br />
                      2 - Add ifilter.jar under lib/ folder (with others JARs files).<br />
                      3 - Enable JImageFilter in the JavaScript:<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM NAME=&quot;filter&quot; VALUE=&quot;jfileupload.upload.client.filter.ImageFilter&quot;&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM NAME=&quot;filterproperties&quot; VALUE=&quot;scaling.properties&quot;&gt;<br />
                      4 - Optionally, update the following properties into i18n_bar.properties:<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;progress.bar.upload.filter.started=Filtering to {0} ...<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;progress.bar.upload.filter.completed=Filtering completed<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;progress.bar.upload.filter.failed=Filtering failed {0}</li>
                    <li><a name="13" id="13"></a><b>Can I use JFileUpload with your PHP sample script add-on ?<br />
                      </b>Yes, for best integration add the following extra parameter:<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM NAME=&quot;param5&quot; VALUE=&quot;errorheader&quot;&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM NAME=&quot;value5&quot; VALUE=&quot;custommessage&quot;&gt;<br />
If you get 405 error or PHP server error for file &gt; 1.5MB then make sure you've updated the script to increase the $max_size value.<br />
                    </li>
                    </ul>
                  <table width="100%" border="0" cellspacing="1" cellpadding="1">
                    <tr>
                      <td class="sectionTitle">Others</td>
                    </tr>
                  </table>
                  <ul>
                        <li><a name="14" id="14"></a><b>Can I use JBatchUpload Pro with JFileUpload Enterprise ?</b><br />
No, JBatchUpload Pro works with JFileUpload Pro only. JBatchUpload Enterprise requires  JFileUpload Enterprise or Premium.<br />
                        <br />
                  </li>
                      </ul>                  </td>
              </tr>
            </table>            </td>
      </tr>
    </table></td>
  </tr>
  </table>
  </div>
  <div id="bottomDiv">
    <p><a href="http://java.sun.com" target="_blank">Java</a> and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries. <br />
    All other company and/or product names are the property of their respective owners.</p>
  </div>
</div>
</body>
</html>
